package cn.edu.tzc.service;
import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.springframework.ui.Model;
import cn.edu.tzc.pojo.Card;
import cn.edu.tzc.pojo.MyUser;

public interface CardService {
    public String selectAllCardsByPage(Model model, int currentPage,  HttpSession session);
    public String addCard(Card card, HttpServletRequest  request, String act, HttpSession session) throws IllegalStateException, IOException;
    public String detail(Model model, int id, String act);
    public String delete(int id);
    public String loginOut(Model model, HttpSession session);
    public String toUpdatePwd(Model model, HttpSession session);
    public String updatePwd(MyUser myuser);
}

